home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / The Hacks / CSFinalHack Module / Custom Def Utils.h < prev    next >
Encoding:
Text File  |  2001-06-23  |  298 b   |  13 lines

  1. //file: Custom Def Utils.h
  2.  
  3. typedef struct
  4. {
  5.    short   Jmp;            // jmp instruction
  6.    void*   Routine;        // address to jump to
  7. }
  8. JmpInstructionTemplate;
  9.  
  10.  
  11. Handle    GetUniversalFunctionHandle(ProcPtr functionAddress,ProcInfoType pInfo);
  12. void     PatchJmpInstruction(void* patchAddress, void* jumpAddress);
  13.